package com.inspur.resourcequery.model;

import java.io.Serializable;

public class ResRelationData  implements Serializable{
	private String type;//-1是只有一个关联资源数据，直接显示关联资源的名称，1是有多个关联资源，显示关联资源的个数
	private String name;// 英文名称
	private String showvalue;
	private String relationid;//关系id，预留字段
	private String related_class;//关联的模型名称
	private String related_attr ;// 关联的模型属性
	private String attr_value; //关联的属性值
	
	
	@Override
	public String toString() {
		return "ResRelationData [type=" + type + ", name=" + name
				+ ", showvalue=" + showvalue + ", relationid=" + relationid
				+ ", related_class=" + related_class + ", related_attr="
				+ related_attr + ", attr_value=" + attr_value + "]";
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getShowvalue() {
		return showvalue;
	}
	public void setShowvalue(String showvalue) {
		this.showvalue = showvalue;
	}
	public String getRelationid() {
		return relationid;
	}
	public void setRelationid(String relationid) {
		this.relationid = relationid;
	}
	public String getRelated_class() {
		return related_class;
	}
	public void setRelated_class(String related_class) {
		this.related_class = related_class;
	}
	public String getRelated_attr() {
		return related_attr;
	}
	public void setRelated_attr(String related_attr) {
		this.related_attr = related_attr;
	}
	public String getAttr_value() {
		return attr_value;
	}
	public void setAttr_value(String attr_value) {
		this.attr_value = attr_value;
	}
	
	
}
